Modified db grants to include IP addresses