add tag and comment model and some functions for post and user