Fixes env variable in users ctrl and absolute paths in html files