Groups are now retrieved dynamically from database.