Added identifiers to all entities. So now we can properly check if an entity already exists in the database.
NOTE: I am saving the session name with the time…