added logout button on the navigation bar