front end tests for login not working