simple registration working fine