made getAuthToken method public