Register and Log In users. PHP, MySQL and Ajax / JavaScript