Adding mainpage with pivot