interducing ajax function to check user already registered..