implemented logout ui