Adding new functionality to addLink page