Updated server MYSQL to send JSON responses for registering/login.
Updated server MYSQL to use executeUpdate() instead of executeQuery()
when adding user
Updated client to close if login/registration fails. Can make fancier
later..