a program using PHP and jQuery about register and login