Added new functionality for home page , added new controller and new javascript