Add functionality for new post