Updated register.php query() to add a serialized object to the User entry.