Add a feature that detects and logs whether a user is visiting from a mobile or desktop device based on their browser’s User-Agent string.