Email registration backend working