islet_login: create unique index for images in database