Adds docstring for RegisterController