add authentication for deleting posts
add support to edit post