created submissin model and controller