doing login.php/registration.php