custom auth for the app.. to use email as username