User Login & Upload History

Introduced interaction with a MySQL database (details defined in
init.php)