created views to show posts