rails generate migration add_username_to_users username:string
do not show unncessary info if not logged in
rails generate devise:views
rails generate controller registrations update
setting registration controller to devise
removed password fields
rails generate migration add_email_password_to_users email_password:string
rake db:migrate
change username's link
save email password safely without changed to blank
sending mail using current user's email address