fix bug when trying to set a member by username.
Merge pull request #36 from petitphp/patch-1

fix bug when trying to set a member by username.