refactoring login_controller.rb
remove comments from user.rb