add: tests for authorization for post creation
add: API for post creation
add: comment on cookie json
add: tests for deleting a post