add unique(user_name) to mysql table
write a demo.php