added request credit functionality