add custom-login.php for client remote login using POST