Added REST method to view activities in real time