fixed the alignment of navbar for logged in user