added terminal device detection(mobile/desktop)