added datasbase variables in create-db and more code in form.php