reauthentication feature and tests complete