added posts index and post show