made 'remember token' functionality not break other platforms