Modified DatabaseHandler

Added getAllPhotos method