added a method in projectController that handles logic for viewProjects

changed view projects to match viewTeams so it takes in a user