Login_engine - redirect

I have installed the login_engine into my project, everything works as
expected, get an emaiil to confirm login etc ,

but can’t get the re-direct back to where the login is screen is called
in
the controller, has anyone faced the same problems, or found a solution.

have user store_location etc.

if anyone has a code snippet, would be great to look at.

best regards

Sufi