added token_expiration parameter. value in hours with default value 1