register user and verify input data