/controllers/ & /lib/: updated cleanHtmlInput and controllers