Changed auth callback to local