add sidemenu and preferences and purchase table controllers.
add sidemenu and preferences and purchase table controllers.