Implemented JWT.
Added creation of jwt and validation.

Made settings.json.

Some improvements for the database.