Validation that user deleting a post is the user who created it
reorganize code, documentation and commenting