Add locale switcher, fix logging, fix registration form.