save token in user preferences for future requests