Do not use functions inside configuration files
Fixing lang menu in the login page. It was set always with the first item.
Minor cosmetic changes