change struct for html and add menuController