Refactored and get mobile working with webrequest