[REFACTOR] Items API now checks and adds user_id to the security packet
[REFACTOR] Added comments and conversion for getSize()