add function to fill user with selected default rights