Rails.application.routes.draw do

  resources :users, only: [:new, :create, :show]

  resources :sessions, only: [:new, :create, :destroy]

  get '/logout' => 'sessions#destroy'

  root 'home#index'
end
