Changed route to be the intended route when user needs to authenticate