Started more data validation on DBFront

-Changed detailsview buttons to templates
-add trimming
-secure data