Model for handling posts