added logged in as... into the navbar and added a test