change on prepareData.php

added require database connection config.php file