javascript load error fixed
hide sidebar when user not signed in