Working finally
Fixed encrypted sending