added displaying friends of logged user in main window