[Fixed]Ticket #2: Secure AJAX views 

this solves the previous errors #179

vishrut009