Made some changes to the servercontroller file