refactor mine.html to use templates
add thumbnails of last two images to the homepage
change UI wordings