SQL integration going well - just need to filter incoming PIDs for current user