Create check_name.php

for the AJAX function