fix logout url and add localisation