Add handle_request to the server and add slices