create HTTP GET request Handler for checking motion sensor status