made changes to allow the server the client request

still need to have a way for the server receive and send the image