How do you want to pass the input parameter? Something like /a/check_email/([^/]+)/ or /a/check_email?email=xxxxx