Add nan-bcrypt
Add domain and user schema
Check both SSHA and mongodb/bcrypt hashes
userdb daemon
Check whether the user is active