added multi user support to UIMediator