updated user model
now saving user id