add photos to admin, fix some errors