Refactoring login controller and model