updated controller logic to add new functionality to projects