Not authorized

Rebased and Formatted re: #142