update the getLogin method to use the new response builder class