[FIX] getUserID -> getUserIdbyEmail

If I understand correctly... Email is stored in $username.
Merge pull request #1545 from Neozonz/issue-1489

[FIX] getUserID -> getUserIdbyEmail