modified database for member-info and order-history pages