Another update on the server side. TokenExpiresIn: 2h,
This allows a logged in user to have his token for the socket connection 2 Hours active before ithe token expires. This way hopefully a logged in user will log out before the 2 hours. This is changed so that the user gets a new token every 2 hours or with every new login. This is just for security measurements to allow a secure connection between the node js server (blockchain and webserver).