fixing the navbar so it shows the logged in use properly