tutor submit application task in js is pretty much done, need to validate input