Changed add method to ajax
Merge with views.py
Merge