Auth/reg form. PHP, MySQL, JS