implementing delete functionality for projects