fixing auth example