Added login check for bot portal page.