added posts create and edit functionality including forms for the same