moved some functions to ldcore, make /update & /get routes also login to ql