added api/galleries. changed style of upload page