added model for posts