implemented logout button
implemented logout button