Generate a link based on input from user