convert url related APIs
Altered the redirect to use symfony's RedirectResponse.
module redirects users based on variable parameter. Solution isn't the nicest but doesn't matter got port.