Fixes adding user to a group when the user does not exist, and also fixed adding when the user does exist. Verified file upload works correctly now for non-admin.