add psql VIEW for history rents
rents history view fix, render history on page
after closing rent redirect to history