cannot edit self
fix for unaffiliated users
Merge pull request #50 from apatel/master

bug fixes