clean up api management of access info; have swift then be able to poke directly at a flag rather than needing to compute it