added CBC encrpytion and cleaned up the html a little