add LOG macro in server.erl
add  simple 'encrypt'
adjust