Implemented logout button