passing user model