added changes to user model