Moved auth and alerts into interceptor