add code verification api call

Support email verification api call.