Add communication between browser and server, refactoring code, change cards response with different object, work on disconnection