There is no point to get those information:

'GroupID' => getmygid(),
'UserID' => getmyuid(),
'UserName' => get_current_user(),

So it be removed.