Abstracted login view rendering logic to 'controller' and refactored some related naming