I already read that thread but he said that it was still not secure at some point so i thought he never made it secure. I'll give it another read.
As for mysql the client can't change team without being logged in the server, maybe with some external web interface just for that, I'll think about it.
Thank you anyway.