Delete

Made changes to catch errors for delete and display the correct message