registration now worked