adding missing identity hooks