sql script for user table and database creation