Fixed problem with logout redirect