added query to create database and role