FEATURE: added configuration that supports different servers
FEATURE: added anti-request forgery state token
INTERNAL: logs added for better understanding of the problem.