Rendering registration template was moved to a separate method