new login form and validation and other cool stuff