Code refactoring was performed. Added functionality of viewing and editing projects from main page.