Add log.php and set main menu to correct links