Starting to add support for user groups at the DB level
switching to simpler version of select