changed main menu href format, and some logging output in the main router