fix multiple bugs, add email validate api for android