adding notification and connection apis