refactored blogs into their own controller