Refactoring to reuse method to find registration with id for #17