fix bad self. ref to ctx. in pg_users