TESTING HOOKS - credentials