composer added
add methods to autodetect mobile devices