added forms for creating and updating posts