implementing NSURLConnectionDelegate and NSURLConnectionDataDelegate methods for repo creation controller and introducing ability to cancel a request