Changed server code to leader code and added it to client startup