Add function to delete project