added posts page and modified post listing on index