move "reset_registration_status" method from client to lib