Add idm module to implement user identity management and authenticaiton