I tried this, it didnt redirect to the page I attempted to access that required me to login but instead of redirecting to the account/account page is send me to index.php ? Is there a way to pass the user from the login through to the page they intended to access instead of being sent back where they came from when they tried to access it?