refactor for UsersController#create, remove heavy logic to model validates;add format validation for user email ;fix spec/features/user_signup_spec.rb to make it pass
fix UsersController#update so that it could work with the new validates in User model
#542 login with email