URL Shortener with some validations