add nested routes for users_posts and refactored some posts_pages specs