Changed utils so the user model is called inside of functions