initializeSidebar method created in friendsListService factory