ProjectExists condition added and deleteProject method updated