check user in registration form