registration is now working