Implementing the hash on the user service and updating the test