minor changes in user model