Added database support for user objects