Helper function for push registration