Moved the get token to a own controlar