Hook in all the backend for auth