how could user register with hist details ?