some more debug for authentication procedure