added getFrom, getTo method to recive user ids