remove trailing / from url
add comments
add required fields and validation