Added random serial ID.
Implementing user handling logic.