Added getCurrentUrl to router