error handling on insertions added to recipe-view.php