Deletings posts, a bit refactoring