Added database logging.

Added database logging and ui registration defaults blank.