Started coding what happens when the client and server connect.