modifed ./shorts to return json, still working on displaying returned json, need to modified mysql table primary key so user can store multiple links