code fix and hide elements on nav bar when user is not signed in yet