read token in file /etc/cozy/controller.token
code cleaning