log clean + clean/secure modifications except in views