switched to pg, check for user proxy