registration input sanitation