Enable user to logout if not authorized.