password encryption added

also connectionHandler options