Fetches the data for a given user.
If id is not provided, the data for the user associated with the token is fetched.
id
token
Future<User> getUser(String token, {String? id});