Re-Added the code to add the client to the list