Client and Server part 1 working