setting up callbacks after subscription requests