moved tag create logic from posts controller to tag model