error return corrected on login