created Post and index routes