Unify authentication routing.
Add email features for authentication backend.
Debug mode.