added test to see if request.user is anonymous
made test for anonymous user shorter
Merge pull request #4 from cmhedrick/master

added test to see if request.user is anonymous