added commons io and generate-token call