Avoid option get
Use Long instead of Int to avoid integer overflow on large user IDs
Merge pull request #122 from akkie/master

Some small improvements