Fixed: double login redirect + added - Custom Logout Handler