Integrated hubusers and refactored code to support array of users.