updated posts views to work