PrintWriter changed to println method for send