Added a blogs view to views.py