added blogs view functionality