Fixes #5 - Username needs to be encoded