The non email registration code parts are removed