Working on the sessions and tables for PolyAuth