adds log out button to header