stopped being lazy and added mysql db to store old links