add pay, showHistory method