Updated login.php to use UserModule