Add activity api and notification api