Added the capability to list all photos

This commit provides an UI for displaying
all photos from an user.
Fix build with Qt5