class for blog details