Dividing usermanager and rightmanager