check for amportal a different way