changed how login json is structured