added anonymous user handling to api
notifications & pin-detail view

pin_detail / pin templatetags