Added basic two way secure communication