fixed bug that made short urls stop working after a while
added support for custom url access in the api endpoints