user model error fixed