changes to the auth module