updated tests and login form