URL Handling on Application or page layer.
Develop and add a page/url handling layer for applications.
It would be helpful to have a page redirect functionality. Currently this is done via php's header function.
header("Location: /");
This should be handled by a function and the endpoint manager. Specifying a page allows for a more dynamic page structure. A use case of this is redirecting to the login page. Currently achieved by redirecting to /login. It would be better to use redirect to the page with the ID "login" this would similify the flow, and remove the requirement to update the url in multiple locations. Doing it with a defined hook also allows for trigger implementation to allow for the URL or redirect to be redirected (for example to forward login back to the source page).