Profile context management in ubiquitous computing