added php login processing