Starting to modify Plotka's php login