Replace the GenericApi class by two classes, Login and Status, else the endpoints would be /generic/login and /generic/status.