added a logout button to the dashboard