Changed user model to remove error