More refactoring of blog controller