add test to signup and login controller