Adding custom short url functionality

If there is non-empty custom url request, we check if the request
contains any illegal chars.

If no illegal characters are found, we push to db