fixed photo page show view when not logged in