Add support to retrieve token from user defaults