Fix user model bug