changed the auth model