Implemented functionality to add a link