links getting added to database, connected to notes