add bootstrap switch and change page index to show the published equals true
add publish switch function
add version info