Code for editing and deleting recipes