added comment page and upload image to server logic