adding method to determine if the currently  logged in user is an administrator.
Merge remote-tracking branch 'origin/master'