# Jwt Authentication
### Libraries used
*Express
*Jsonwebtoken
*mongoose
*body-parser
### Routes Functionalities
* Register: check and add user to the database
* editUser: Check for aleady existing email in databse
and allows the user to make changes for a valid email .
* deleteUser: Deletes a valid user in the database.
* login: A valid user can login and receive a token.
### Function Description
* Receives a token verifies it and responds if the token is valid
or not.
#### .env
*authenticateToken: this is where the secret needed to encrypt
the token is pulled from