Refactoring step. Login controller.
Refactoring step. Register controller.