added sso by submitting post data to /login.php again