checkout logic/view implemented