Login with database working

Login form makes http request to database, getting a JSON response
validanting the login
HTTP request message

HTTP request Connection error message added.
Improved JSONparser
Retrieving username logged on