Added destroy button and better logic on the projects page for edit/destroy buttons