Removed HTML because it won't show on deletion
Checked if the given id is valid, redirect to error if invalid
Displayed error if delete failed
Catched exception, showing HTML, and link if the user isn't logged in