Slight fix to logout call

isAuthenticated had not been set to false on log out.