added userId in model