Prevent addition of duplicate users and long/short URLs