Added user mgmt class

Added class for handling user management. Needs some updates and
customization.