getting main page data from Server