Implemented Secure communication part of it