added test and html code for adding link by user