managing user roles and group in postgresql