Change $response type in validate method