added initial auth infrastructure