Add and fully test login.php and register.php