Added flash messages for login/logout with i18n