[Fixed]Ticket #2: Secure AJAX views

If any problem with indentation please comment, problem with my text editor

vishrut009