Fixed deleteProject function in projectcontroller