Fixed email not sending on registration