Features Luke #52 and #53

This adds sign-in and sign-out capabilities, as well as the needed redirects for said features. 
Can you make this a parameterized query? Otherwise we run a risk of SQL injection if CAS returns anything weirdly-formatted or evil.