Refactor usermask to username parsing
Merge pull request #2 from zoranzaric/refactor-usermask-to-username

Refactor usermask to username parsing (TODO: discuss weird function name)