Fixed Send button for the server and integrated with Sarah's latest code