added an auth func for the rest api dash.
added an auth func for the rest api dash.

starboarder2001/pivportal,starboarder2001/pivportal,starboarder2001/pivportal,starboarder2001/pivportal,starboarder2001/pivportal,starboarder2001/pivportal