generate_navbar - now contains a logout button on the right hand size.