- Added generic user with toArray functionality