woking in the workspace and authentication api.