1. Refactored.
2. Binded keyboard "Enter" to login.