added a lot of tests, implemented getUserId
fixed code review changes
like a boss
Merge pull request #104 from dcs24/master

Tests and getUserId