move generateUUID() method to utils file