Some implementation to make resource/user management work, still under work