debug the get user info function