adds attributes to user model