add BlogBase Class
add device distinction between PC and Mobile