Updates to authorization functionality
Merge remote-tracking branch 'origin/back-end-working' into back-end-working
Fixed a bug.