product page, general funcs, db conn for local