Removed htmlFunc and redundant html only middleware!