Added functionality to the edit and destroy buttons for the projects