fixed the issue with the users model