Finish server side with bugs & lack of mutex