Add compatibility shim for User model access