add user register basic logic