added link shortening (mysql missing yet)