check da server then registerButton pressed