basic validation
added and included roots, now getting ajax 500 error