added gitignore to exclude backup files
updated basedata.php to send conform json data
implemented CheckBaseData to fetch data