added code for scenario1 in view, controller and Article models
added code for scenario1 in view, controller and Article models