I\'ve got this structure of database:
-requests -userID -requests -requestingUserID1 : groupID1 -requestingUserID2 : groupID2