storing token in local storage