last activity api call working