added delete method for catalogues
fixed status codes