Fix login mechanism and loading map by status.