Database and user setup.