login php updated + registration php