cleanup templates from old ways of doing thing
read the configuration correctly
add a POST as well