almost working code
Fix getSummonerId action
Return response code or internal error message
All api calls moved to server side