added file uploader and image resizer