register subscriber the right way