added blog functionality
fixed bugs in blog controller
fixed blog bugs