Refactored Login View Controller