Added common sense approach for storing the token

Better not provide cut & paste code which is not safe ;-)