Add in basic authorization functionality