added support for url upload.  this logic should be moved to the controller later.  it's in the handler right now.