Fix bug

- Upload option did not work in anonymous user upload
- Image delete not work in postgresql