use session varable "fromWhere" for routing whenever it is set