devise setup to login with either name OR email
devise:views for users
allow password and confirmation via either name OR email
bug in user.rb
fixed login page