refactored login view
Merge pull request #8 from kervs/refactor

refactored login view