Revert "Did some work on allowing form handler functions to return something, but I don't think it's going to be useful since there isn't enough type information."

This reverts commit a0121b819a4011ab9c5945fa60a10e42829a43fa.
Finished SQL queries for Sessions. Now to make it an effect...