added routes and resources for single post