set up auth logout.