Login form refactored.