public String execute() {
        String actionResult = "";
        /**
         *   Getting User Object from Session.
         */
        setSession(ActionContext.getContext().getSession());
        setUser((User) getSession().get("USER"));

        DataService dataService = new DataService();
        setList(dataService.getLiveLocation(getUser()));
        if (getList() != null) {
            //   TrackData trackdata = new TrackData();
            //Iterator<TrackData> trackdata = list().iterator();

            for (int i = 0; i < list.size(); i++) {
                if (dummyLat.equalsIgnoreCase("")) {
                    dummyLat = list.get(i).getLatitudeList();
                } else {
                    dummyLat = dummyLat + ',' + list.get(i).getLatitudeList();
                }
                if (dummyLong.equalsIgnoreCase("")) {
                    dummyLong = list.get(i).getLongitudeList();
                } else {
                    dummyLong = dummyLong + ',' + list.get(i).getLongitudeList();
                }
                
                if (location.equalsIgnoreCase("")) {
                    location = list.get(i).getLocation();
                } else {
                    location = location + ',' + list.get(i).getLocation();
                }
                
            }
            setLatitude(dummyLat);
            setLongitude(dummyLong);

            setCurrentUserName(getUser().getFname() + " " + getUser().getLname());
            if (getUser().getUprofile() == 1) {
                actionResult = "individual";
                setCurrentUserName(getCurrentUserName() + " [I]");
            } else {
                if (getUser().getUprofile() == 2) {
                    actionResult = "group";
                    setCurrentUserName(getCurrentUserName() + " [G]");
                } else {
                    if (getUser().getUprofile() == 3) {
                        actionResult = "admin";
                        setCurrentUserName(getCurrentUserName() + " [A]");
                    }
                }
            }
        } else {
            actionResult = "error";
            addFieldError("uemail", "Invalid User");
        }
        return actionResult;

    }