Authenticated login redirect working