add tags controller and some tags model method