Store token in token file to avoid having to log in every time.