removing old code
refactoring blog controller