Added accessors to user model