Fix #6 you need to click two times to logout

UI was not updated