Started adding HBase implementation of user managment. Refactored client
code so that it can be shared between device and user management.