templete model and controller for user