created M:M association for posts and categories