Consuming the parameters passed from home page