Added missing attributes to user model