add edit to posts
add image upload function to posts