added findlinkbyid, createlink, and findalllinks functionalities to the server