I have written a function that checks if requested string was found in the database or no but it does not respond
Parse.Cloud.define("validateKey",