added user model and changed vars to category