Adding Devise (with or without existing User class)

  1. add "devise" gem
  2. rails g devise:install
  3. Follow instructions on screen
  4. Delete all users (if exists)
  5. rake db:migrate
  6. rake db:setup
  7. add before_action :authenticate_user!