implemented sessions and uid (unique id) for each client, currently by serial number. This makes data in store look sane.