register and login tests passing