add security
change navigation methods for mercury showPage