Add actions and anchors for redirection