changed view project function to project detail view