updated user context to query groups