structure + php login via ext file working