attempting to stores token in local storage and has a logout button that clears the localstorage