added functionality to add a new link. ajax call is missing at the
moment