use mobile detect gem. testing for background stuff.