Web logic for Main Street hybrid app