implemented dynamic language switching, also moved the correct dictionary to the res.locals object, so there is nor more need to pass the dict to the view by the various controller
simple addon: users now stay at the current site after switching languages and are no longer redirected to the root page