modified tokens_controller to get more information