create database and insert user procedure