Add functionality to create text post