added following to user model