users: Move login checks to the form validation + some cleanups