add error handling for follower member change states
add log for leader state