Added proper escaping to string queries, implemented basic login (needs
styling and such; currently more of a functionality testing template),
swapped most include functions involving DB calls to require functions,
moved header and footer into external HTML files (it will become more
important as time goes on)