Fix view sit error when user not logged in.