Creating request and response classes for Auth API.