Modified auth to use email vs name