bugfix logout redirect template