Important thing that the system will take care of is that if admin close some session, the legislations connected with this session should not be updated anymore even if they appear in StateTrack profile match upload / XMLs. Beside the fact that they will not be visible for users anymore all document for closed sessions should also not be re-imported never again. System must ensure that those bills will not be processed and will not appear anywhere in the system. For this reason we will create session table with inserted ID of only active session. So while parsing XML that are coming from StateTrack the system will check “if exist” and import or update the bill accordingly.