added option to create database and user