auth for development mode