Autoincremented database and forms for creating a link