Fix database to store user uuids