Everything works w/ db except for account create

Had to fix a bunch of stuff, but I finally got the register and login
page to work with my database.