added search posts by tag name, fixed attach tag when create post