implemented view post given url with post id