stop execution when unauthenticated, to prevent the page to show when canceling auth popup