Server: added TODOs, fixed but in checking term and becoming follower