changed tenant model from user to tenant