added isMobile check to application controller
small changes