simplified the auth process