Fixed some bugs with tokens, and added a warning page to reauth a token if it expires or is revoked