added link model, set associations
added the submit form for links