Custom link shortener for GAE