Sign in using token and store token in local storage