removed debug errors text on admin form
fix up the routing code to address popstate issues