ajax for validating member