Changes for distributed platform

Added database_host field so the user database and the metadata database
can live in different clusters