Added register model and controller