Finished the Sending Functionality of the Server