Email registration now working