serving client as an app/a