Use checkAuth only when NOT in development mode