implemented single post route