working on navbar
functioning navbar for logged in users