refactored the way displays projects/tasks