Create checkForMessages.php