add success and failed callback, fix if email not exist