Added tasks to view.py