Post controller

laid some ground work for posts in habits show page. need the model.