API for checking user existence

[Closes #1]