refactored tests to be more synchronous
remove unnecessary logging message
changed User-model constructor signature to have _id first
validate queries given to user model at constructor
added update methods to db and userService