post model and index view