add security to communication manager
add the logic folder