added approve logic to the page
:)