implemented delete functionality for projects