Use database for clients

Shouldn't this be from the config?