check if shorturl already exists and if so return error