Refactored login screen to new templates.