added ratings ui and logic to complete transaction process