Added custom directive to prevent just-logged-out users from using history to access pages