fixed a bug relating to categories.php and tutorial upload: removed CURLOPT_TIMEOUT and added 200 and 201 header responses