finished user model and syntax fix