move content of foot.php into footer since they always seem to go together
move login form to function which validates the user on the specified page.
it'd be great to just send them back to whatever page they were on but i'm not sure how to do that yet.
extract common code for public vs. member pages. this allows us to specify which type the page is and then the unique content on that page. everything else should be redundant and thus taken care of.