committing changes to catalog page and add/delete functions from the api