Composer autoloader problem fixed with nav-menu.phtml partial.The order of operation was changed in the Registration controller. First send e-mail. Second save in the DB.