Added hashcode and equals to Server, added functionnality to CLient