generated registration controlller