now can receive and parse authId and authToken data from the client