adding a secure communication mechnism