Email registration now works