Refactored code to display single page showing all projects. Also fixed issues with edit and clone project pages.