Can I suggest a couple of enhancements:
- Trim the username when it is entered. I use auto-complete, which tends to put a space at the end of my email address. This caused the login to fail (which took a while to diagnose why it was happening).
- For security, the password should be hidden by default. It is shown by default - I don’t know of any other app that works this way.