A model-based method for Seamless web and mobile experience