added post form and index