return initial data and html markup