start client side
bugs when activity is empty or single, render html for xhr