refactor contact.php