Added viewlog and post model.