added method nsmutableurlrequest to create NSMutableURLRequest object