logout button implemented