Added functionality for views for blogs