adding getCurrentUserId() to ApacheBackend