Method and system for providing user interface for device control