Fix major issues with user-management. @TODO: fix errors in add user with existing name