small correction for accesstoken appending logic in the server function