fixing steam api calls
refactored api calls into the auth callback