left menu changed depending on login state, user state checked  when buying products, transaction table added