Fix user model and add user model get test