updated views with photo page working