class-based view for blog added