unit testing the promise in the userservice and adding in the bumf to get the user obiject into the controller