add nprogress
alert when there are unpublished photos