added more tests and api calls for userController