fixed bug in views, added id to note and photo, added retrieval to pictures, links, and notes