people_portal error checking