added function getUrlFromOptions...did just a bit of refactoring. I'm going to reimplement logout button
implemented logout button and fixed a bug in the printMenu
well... Now I need to pass the  options to MainBackend::loadModule