Title: Managing Interactions in Smart Environments