Added the register and photos controller.