fixed logout button, was adding &ui-state=dialog to the end of the url