adding navbar and logout button