Added basic functionality for Posts