Created a LogError entity to store message log/ route and prevent being spamed by errors
Token will be created only if error is status == 500. Use can now import the fresh exported token by accessing a route and passing the token name in the url parameter.