wiring up app to user mediator pattern