modified navigation, and added logout button.