Refactor
Refactor LoginController