add main post controller