can recieve list of categories from sever.