updated users model for users_api