Lots and lots!

Database connection, login page, form submission