add logout method to mediator. remove unused mediator import from PageMap