Added a check for anonymous user

This will only show text for a non-logged in user and shows links for the logged in user.
This is for my task - https://www.google-melange.com/gci/task/view/google/gci2014/5245011075530752
This is not needed -- have a look at modules/s3/s3aaa.py s3_has_permission -- it will test this.