Redirect the user back from AD form once done

Redirect the user back to the URL (s)he came from once they fill in the
AD form.

After completing the request, take the user back to the page they
originated from and flash the message. But if the user came back from
the feedback form message, still return them back but don't flash the
message.
@stephenrichards & @robmckinnon what do you think of this flow?

Should I "slim it down" or is there too much nested logic?
I ask this as there isn't much happening in this controller, so does it warrant that extraction and modularisation now?
Thanks