Using user aget to check device model