changed the homepage to be able to render even if there are no photos yet